package com.zrwl.poscloud.xo.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.Comment;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.CommentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 事件评论 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-17
 */
public interface CommentMapper extends SuperMapper<Comment> {
    IPage<CommentVO> getPageList(@Param("page") Page page, @Param("param") CommentVO commentVO);

    int getNum(@Param("param") CommentVO commentVO);

    int getNums(@Param("param") CommentVO commentVO);
    List<CommentVO> getRoot(@Param("param") CommentVO commentVO);

    List<CommentVO> getNext(@Param("param") CommentVO commentVO);
}
